package com.example.hdx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.hdx.entity.Articles;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;

@Mapper
public interface ArticlesMapper extends BaseMapper<Articles> {
    @Select("select * from Articles")
    List<Articles> getAllArticles();
}
